<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div id="data"></div>
	</body>
	<script type="text/javascript">
		var source = new EventSource("stream")
		console.log(source)
		source.onmessage = function(event){
			data.innerHTML += event.data
		}
	</script>
</html>
